package com.wanxin.wb.common.support.exception;



/**
 * <B>Description:</B>编码描述 <br>
 * <B>Create on:</B> 2015年3月17日 下午2:24:07<br>
 *
 * @author 
 * @version 1.0
 */
public class CodeDesc implements java.io.Serializable {
    /**  */
    private static final long serialVersionUID = 1665767730589811315L;
    private String            code;
    private String            msg;

    public CodeDesc(String code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }

    public static CodeDesc newCodeDesc(String code,String msg){
        return new CodeDesc(code,msg);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
